package cn.chenhongchao.hospital.entity;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

public class Medicine implements Serializable {
    private String id;

    private String medicineName;

    private String scale;

    private String batchNum;

    private String approvalNum;

    private String effects;

    private String bzq;

    private Float runitPrice;

    private Float wunitPrice;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getMedicineName() {
        return medicineName;
    }

    public void setMedicineName(String medicineName) {
        this.medicineName = medicineName == null ? null : medicineName.trim();
    }

    public String getScale() {
        return scale;
    }

    public void setScale(String scale) {
        this.scale = scale == null ? null : scale.trim();
    }

    public String getBatchNum() {
        return batchNum;
    }

    public void setBatchNum(String batchNum) {
        this.batchNum = batchNum == null ? null : batchNum.trim();
    }

    public String getApprovalNum() {
        return approvalNum;
    }

    public void setApprovalNum(String approvalNum) {
        this.approvalNum = approvalNum == null ? null : approvalNum.trim();
    }

    public String getEffects() {
        return effects;
    }

    public void setEffects(String effects) {
        this.effects = effects == null ? null : effects.trim();
    }

    public String getBzq() {
        return bzq;
    }

    public void setBzq(String bzq) {
        this.bzq = bzq == null ? null : bzq.trim();
    }

    public Float getRunitPrice() {
        return runitPrice;
    }

    public void setRunitPrice(Float runitPrice) {
        this.runitPrice = runitPrice;
    }

    public Float getWunitPrice() {
        return wunitPrice;
    }

    public void setWunitPrice(Float wunitPrice) {
        this.wunitPrice = wunitPrice;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", medicineName=").append(medicineName);
        sb.append(", scale=").append(scale);
        sb.append(", batchNum=").append(batchNum);
        sb.append(", approvalNum=").append(approvalNum);
        sb.append(", effects=").append(effects);
        sb.append(", bzq=").append(bzq);
        sb.append(", runitPrice=").append(runitPrice);
        sb.append(", wunitPrice=").append(wunitPrice);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}